//
//  SocketIOClientOption.m
//  Socket.IO-Client
//
//  Created by alanwang.dev on 16/8/8.
//  Copyright © 2016年 com.alanwang.dev. All rights reserved.
//

#import "SocketIOClientOption.h"

@implementation SocketIOClientOption

- (NSString *)description{
    NSString *description;
    switch (self.SocketIOOption) {
        case ConnectParams:
            description = @"connectParams";
        case Cookies:
            description = @"cookies";
        case DoubleEncodeUTF8:
            description = @"doubleEncodeUTF8";
        case ExtraHeaders:
            description = @"extraHeaders";
        case ForceNew:
            description = @"forceNew";
        case ForcePolling:
            description = @"forcePolling";
        case ForceWebsockets:
            description = @"forceWebsockets";
        case HandleQueue:
            description = @"handleQueue";
        case Log:
            description = @"log";
        case Logger:
            description = @"logger";
        case Nsp:
            description = @"nsp";
        case Path:
            description = @"path";
        case Reconnects:
            description = @"reconnects";
        case ReconnectAttempts:
            description = @"reconnectAttempts";
        case ReconnectWait:
            description = @"reconnectWait";
        case Secure:
            description = @"secure";
        case SelfSigned:
            description = @"selfSigned";
        case SessionDelegate:
            description = @"sessionDelegate";
        case VoipEnabled:
            description = @"voipEnabled";
        default:
            break;
    }
    return description;
}

- (NSInteger)hashValue{
    return [[self description] hash];
}

- (NSDictionary *)getSocketIOOptionValue{
    return nil;
}

@end
